package com.roncoo.education.course.common.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 问卷 测试 题目分页展示
 */
@Data
@Accessors(chain = true)
public class TopicREQ implements Serializable {

    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页", required = true)
    private int pageCurrent = 1;
    /**
     * 每页记录数
     */
    @ApiModelProperty(value = "每页记录数", required = true)
    private int pageSize = 20;
    @ApiModelProperty(value = "主键 ，修改的时候必传")
    private Long id;
    @ApiModelProperty(value = "题目", required = true)
    private String title;
    @ApiModelProperty(value = "类型 1 单选 ")
    private Integer type;
    @ApiModelProperty(value = "答案", required = true)
    private String answer;
    @ApiModelProperty(value = "选项", required = true)
    private String topic;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;
    @ApiModelProperty(value = "试卷id", required = true)
    private Long courseTopicId;


}
